<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    
</body>
<script>
   /* window.onload=function () {
        var basket ={
            count:3,
            onSale:1
        }
        document.body.innerHTML=
            'There are <b>' + basket.count + '</b> ' +
            'items in your basket, ' +
            '<em>' + basket.onSale +
            '</em> are on sale!';
    }    */
    window.onload=function () {
        var basket ={
            count:33,
            onSale:11
        }
        document.body.innerHTML=
            `There are <b>${basket.count}</b> items
             in your basket, <em>${basket.onSale}</em>
             are on sale!`
    }





</script>
</html>